home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Digital Hollywood CD-ROM Demo
/
Digital Hollywood CD-ROM Demo.iso
/
HATNET CD-ROM DEMO
/
HATNET CD-ROM DEMO.rsrc
/
CODE_11531_IMAGING.txt
< prev
next >
Wrap
Text File
|
1994-07-04
|
49KB
|
886 lines
# near model CODE resource
# jump table entries: 6944-6948 (5 of them)
00000000 4E56 0000 link A6, 0
00000004 48E7 0308 movem.l -[A7], D6,D7,A4
00000008 3E2E 0008 move.w D7, [A6 + 0x8]
0000000C 286E 000A movea.l A4, [A6 + 0xA]
00000010 604A bra +0x4C /* 0000005C */
label00000012:
00000012 202D F02C move.l D0, [A5 - 0xFD4]
00000016 52AD F02C addq.l [A5 - 0xFD4], 1
0000001A 206D F034 movea.l A0, [A5 - 0xFCC]
0000001E 2050 movea.l A0, [A0]
00000020 18F0 0800 move.b [A4]+, [A0 + D0]
00000024 202D F02C move.l D0, [A5 - 0xFD4]
00000028 B0AD F030 cmp.l D0, [A5 - 0xFD0]
0000002C 6D2E blt +0x30 /* 0000005C */
0000002E 2B6D F038 F030 move.l [A5 - 0xFD0], [A5 - 0xFC8]
00000034 7000 moveq.l D0, 0x00
00000036 2B40 F02C move.l [A5 - 0xFD4], D0
0000003A 206D F034 movea.l A0, [A5 - 0xFCC]
0000003E A029 syscall HLock
00000040 558F subq.l A7, 2
00000042 3F2D F02A move.w -[A7], [A5 - 0xFD6]
00000046 486D F030 pea.l [A5 - 0xFD0]
0000004A 206D F034 movea.l A0, [A5 - 0xFCC]
0000004E 2F10 move.l -[A7], [A0]
00000050 4EAD 02F2 jsr [A5 + 0x2F2 /* export_90 */]
00000054 3C1F move.w D6, [A7]+
00000056 206D F034 movea.l A0, [A5 - 0xFCC]
0000005A A02A syscall HUnlock
label0000005C:
0000005C 3007 move.w D0, D7
0000005E 5347 subq.w D7, 1
00000060 4A40 tst.w D0
00000062 66AE bne -0x50 /* 00000012 */
00000064 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
0000006A 4E5E unlink A6
0000006C 205F movea.l A0, [A7]+
0000006E 5C4F addq.w A7, 6
00000070 4ED0 jmp [A0]
fn00000072:
00000072 4E56 FFFC link A6, -0x0004
00000076 48E7 0300 movem.l -[A7], D6,D7
0000007A 3C2E 000C move.w D6, [A6 + 0xC]
0000007E 2E2E 0008 move.l D7, [A6 + 0x8]
00000082 3B46 F02A move.w [A5 - 0xFD6], D6
00000086 A061 syscall MaxBlock
00000088 2D40 FFFC move.l [A6 - 0x4], D0
0000008C 2B7C 0003 2000 F038 move.l [A5 - 0xFC8], 0x32000
00000094 600E bra +0x10 /* 000000A4 */
label00000096:
00000096 202D F038 move.l D0, [A5 - 0xFC8]
0000009A 7202 moveq.l D1, 0x02
0000009C 4EAD 026A jsr [A5 + 0x26A /* export_73 */]
000000A0 2B40 F038 move.l [A5 - 0xFC8], D0
label000000A4:
000000A4 2007 move.l D0, D7
000000A6 D0AD F038 add.l D0, [A5 - 0xFC8]
000000AA B0AE FFFC cmp.l D0, [A6 - 0x4]
000000AE 6EE6 bgt -0x18 /* 00000096 */
000000B0 4AAD F038 tst.l [A5 - 0xFC8]
000000B4 6608 bne +0xA /* 000000BE */
000000B6 7000 moveq.l D0, 0x00
000000B8 2D40 000E move.l [A6 + 0xE], D0
000000BC 606A bra +0x6C /* 00000128 */
label000000BE:
000000BE 558F subq.l A7, 2
000000C0 3F06 move.w -[A7], D6
000000C2 486E FFFC pea.l [A6 - 0x4]
000000C6 4EAD 032A jsr [A5 + 0x32A /* export_97 */]
000000CA 4A5F tst.w [A7]+
000000CC 6708 beq +0xA /* 000000D6 */
000000CE 7000 moveq.l D0, 0x00
000000D0 2D40 000E move.l [A6 + 0xE], D0
000000D4 6052 bra +0x54 /* 00000128 */
label000000D6:
000000D6 04AE 0000 0200 FFFC subi.l [A6 - 0x4], 0x200
000000DE 202E FFFC move.l D0, [A6 - 0x4]
000000E2 B0AD F038 cmp.l D0, [A5 - 0xFC8]
000000E6 6C06 bge +0x8 /* 000000EE */
000000E8 2B6E FFFC F038 move.l [A5 - 0xFC8], [A6 - 0x4]
label000000EE:
000000EE 202D F038 move.l D0, [A5 - 0xFC8]
000000F2 A122 syscall NewHandle, flags=1
000000F4 2B48 F034 move.l [A5 - 0xFCC], A0
000000F8 6728 beq +0x2A /* 00000122 */
000000FA 2B6D F038 F030 move.l [A5 - 0xFD0], [A5 - 0xFC8]
00000100 7000 moveq.l D0, 0x00
00000102 2B40 F02C move.l [A5 - 0xFD4], D0
00000106 A029 syscall HLock
00000108 558F subq.l A7, 2
0000010A 3F06 move.w -[A7], D6
0000010C 486D F030 pea.l [A5 - 0xFD0]
00000110 206D F034 movea.l A0, [A5 - 0xFCC]
00000114 2F10 move.l -[A7], [A0]
00000116 4EAD 02F2 jsr [A5 + 0x2F2 /* export_90 */]
0000011A 3E1F move.w D7, [A7]+
0000011C 206D F034 movea.l A0, [A5 - 0xFCC]
00000120 A02A syscall HUnlock
label00000122:
00000122 2D6D F034 000E move.l [A6 + 0xE], [A5 - 0xFCC]
label00000128:
00000128 4CEE 00C0 FFF4 movem.l D6,D7, [A6 - 0xC]
0000012E 4E5E unlink A6
00000130 205F movea.l A0, [A7]+
00000132 5C4F addq.w A7, 6
00000134 4ED0 jmp [A0]
fn00000136:
00000136 4E56 FFE2 link A6, -0x001E
0000013A 48E7 FFF8 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
0000013E 286E 0008 movea.l A4, [A6 + 0x8]
00000142 2654 movea.l A3, [A4]
00000144 2653 movea.l A3, [A3]
00000146 49EC 0004 lea.l A4, [A4 + 0x4]
0000014A 7A00 moveq.l D5, 0x00
0000014C 3A2C 0004 move.w D5, [A4 + 0x4]
00000150 0805 000F btst.b D5, 0xF
00000154 56EE FFE6 sne [A6 - 0x1A]
00000158 6742 beq +0x44 /* 0000019C */
0000015A 2854 movea.l A4, [A4]
0000015C 2854 movea.l A4, [A4]
0000015E 3A2C 0004 move.w D5, [A4 + 0x4]
00000162 0885 000F bclr.b D5, 0xF
00000166 302C 0010 move.w D0, [A4 + 0x10]
0000016A 6600 027A bne +0x27C /* 000003E6 */
0000016E 302C 001E move.w D0, [A4 + 0x1E]
00000172 6700 000E beq +0x10 /* 00000182 */
00000176 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000017A 4EAD 1852 jsr [A5 + 0x1852 /* export_774 */]
0000017E 6000 0266 bra +0x268 /* 000003E6 */
label00000182:
00000182 302C 0020 move.w D0, [A4 + 0x20]
00000186 7204 moveq.l D1, 0x04
label00000188:
00000188 5341 subq.w D1, 1
0000018A E248 lsr D0.w, 1
0000018C 66FA bne -0x4 /* 00000188 */
0000018E 3D41 FFE4 move.w [A6 - 0x1C], D1
00000192 7001 moveq.l D0, 0x01
00000194 E368 lsl D0.w, D1
00000196 5340 subq.w D0, 1
00000198 3D40 FFE2 move.w [A6 - 0x1E], D0
label0000019C:
0000019C 302C 000A move.w D0, [A4 + 0xA]
000001A0 906C 0006 sub.w D0, [A4 + 0x6]
000001A4 3D40 FFF6 move.w [A6 - 0xA], D0
000001A8 3205 move.w D1, D5
000001AA C2C0 mulu.w D1, D0
000001AC 2D41 FFEC move.l [A6 - 0x14], D1
000001B0 6700 021C beq +0x21E /* 000003CE */
000001B4 2401 move.l D2, D1
000001B6 244B movea.l A2, A3
label000001B8:
000001B8 4A5A tst.w [A2]+
000001BA 6608 bne +0xA /* 000001C4 */
000001BC 5582 subq.l D2, 2
000001BE 66F8 bne -0x6 /* 000001B8 */
000001C0 6000 020C bra +0x20E /* 000003CE */
label000001C4:
000001C4 2001 move.l D0, D1
000001C6 9082 sub.l D0, D2
000001C8 80C5 divu.w D0, D5
000001CA 3D40 FFF8 move.w [A6 - 0x8], D0
000001CE 244B movea.l A2, A3
000001D0 D5C1 add.l A2, D1
label000001D2:
000001D2 4A62 tst.w -[A2]
000001D4 6604 bne +0x6 /* 000001DA */
000001D6 5581 subq.l D1, 2
000001D8 60F8 bra -0x6 /* 000001D2 */
label000001DA:
000001DA 5381 subq.l D1, 1
000001DC 82C5 divu.w D1, D5
000001DE 5241 addq.w D1, 1
000001E0 3D41 FFFC move.w [A6 - 0x4], D1
000001E4 302E FFF8 move.w D0, [A6 - 0x8]
000001E8 9240 sub.w D1, D0
000001EA 3D41 FFF0 move.w [A6 - 0x10], D1
000001EE C0C5 mulu.w D0, D5
000001F0 244B movea.l A2, A3
000001F2 D5C0 add.l A2, D0
000001F4 7600 moveq.l D3, 0x00
000001F6 7800 moveq.l D4, 0x00
label000001F8:
000001F8 224A movea.l A1, A2
000001FA D3C3 add.l A1, D3
000001FC 3401 move.w D2, D1
000001FE 6004 bra +0x6 /* 00000204 */
label00000200:
00000200 8851 or.w D4, [A1]
00000202 D3C5 add.l A1, D5
label00000204:
00000204 51CA FFFA dbf D2, -0x8 /* 00000200 */
00000208 4A44 tst.w D4
0000020A 6604 bne +0x6 /* 00000210 */
0000020C 5443 addq.w D3, 2
0000020E 60E8 bra -0x16 /* 000001F8 */
label00000210:
00000210 7C00 moveq.l D6, 0x00
00000212 4A2E FFE6 tst.b [A6 - 0x1A]
00000216 6722 beq +0x24 /* 0000023A */
00000218 302C 0020 move.w D0, [A4 + 0x20]
0000021C 7E10 moveq.l D7, 0x10
0000021E 9E40 sub.w D7, D0
00000220 74FF moveq.l D2, 0xFFFFFFFF
00000222 EF6A lsl D2.w, D7
label00000224:
00000224 3E04 move.w D7, D4
00000226 CE42 and.w D7, D2
00000228 6606 bne +0x8 /* 00000230 */
0000022A 5246 addq.w D6, 1
0000022C E06A lsr D2.w, D0
0000022E 60F4 bra -0xA /* 00000224 */
label00000230:
00000230 3E2E FFE4 move.w D7, [A6 - 0x1C]
00000234 EF6B lsl D3.w, D7
00000236 D646 add.w D3, D6
00000238 600C bra +0xE /* 00000246 */
label0000023A:
0000023A E34C lsl D4.w, 1
0000023C 6504 bcs +0x6 /* 00000242 */
0000023E 5246 addq.w D6, 1
00000240 60F8 bra -0x6 /* 0000023A */
label00000242:
00000242 E74B lsl D3.w, 3
00000244 D646 add.w D3, D6
label00000246:
00000246 3D43 FFFA move.w [A6 - 0x6], D3
0000024A 3605 move.w D3, D5
0000024C 5543 subq.w D3, 2
0000024E 7800 moveq.l D4, 0x00
label00000250:
00000250 224A movea.l A1, A2
00000252 D2C3 add.w A1, D3
00000254 2401 move.l D2, D1
00000256 6004 bra +0x6 /* 0000025C */
label00000258:
00000258 8851 or.w D4, [A1]
0000025A D3C5 add.l A1, D5
label0000025C:
0000025C 51CA FFFA dbf D2, -0x8 /* 00000258 */
00000260 4A44 tst.w D4
00000262 6604 bne +0x6 /* 00000268 */
00000264 5543 subq.w D3, 2
00000266 60E8 bra -0x16 /* 00000250 */
label00000268:
00000268 4A2E FFE6 tst.b [A6 - 0x1A]
0000026C 672A beq +0x2C /* 00000298 */
0000026E 3C2E FFE2 move.w D6, [A6 - 0x1E]
00000272 5246 addq.w D6, 1
00000274 DC46 add.w D6, D6
00000276 302C 0020 move.w D0, [A4 + 0x20]
0000027A 7E10 moveq.l D7, 0x10
0000027C 9E40 sub.w D7, D0
0000027E 74FF moveq.l D2, 0xFFFFFFFF
00000280 EE6A lsr D2.w, D7
label00000282:
00000282 3E04 move.w D7, D4
00000284 CE42 and.w D7, D2
00000286 6606 bne +0x8 /* 0000028E */
00000288 5346 subq.w D6, 1
0000028A E16A lsl D2.w, D0
0000028C 60F4 bra -0xA /* 00000282 */
label0000028E:
0000028E 3E2E FFE4 move.w D7, [A6 - 0x1C]
00000292 EF6B lsl D3.w, D7
00000294 D646 add.w D3, D6
00000296 6010 bra +0x12 /* 000002A8 */
label00000298:
00000298 3C3C 0010 move.w D6, 0x10
label0000029C:
0000029C E24C lsr D4.w, 1
0000029E 6504 bcs +0x6 /* 000002A4 */
000002A0 5346 subq.w D6, 1
000002A2 60F8 bra -0x6 /* 0000029C */
label000002A4:
000002A4 E74B lsl D3.w, 3
000002A6 D646 add.w D3, D6
label000002A8:
000002A8 3D43 FFFE move.w [A6 - 0x2], D3
000002AC 45EE FFF8 lea.l A2, [A6 - 0x8]
000002B0 302E FFF0 move.w D0, [A6 - 0x10]
000002B4 322A 0006 move.w D1, [A2 + 0x6]
000002B8 926A 0002 sub.w D1, [A2 + 0x2]
000002BC 3D41 FFF4 move.w [A6 - 0xC], D1
000002C0 4A2E FFE6 tst.b [A6 - 0x1A]
000002C4 670C beq +0xE /* 000002D2 */
000002C6 D26E FFE2 add.w D1, [A6 - 0x1E]
000002CA 342E FFE4 move.w D2, [A6 - 0x1C]
000002CE E469 lsr D1.w, D2
000002D0 6004 bra +0x6 /* 000002D6 */
label000002D2:
000002D2 5E41 addq.w D1, 7
000002D4 E649 lsr D1.w, 3
label000002D6:
000002D6 5241 addq.w D1, 1
000002D8 0881 0000 bclr.b D1, 0x0
000002DC 3D41 FFF2 move.w [A6 - 0xE], D1
000002E0 C2C0 mulu.w D1, D0
000002E2 2D41 FFE8 move.l [A6 - 0x18], D1
000002E6 B2AE FFEC cmp.l D1, [A6 - 0x14]
000002EA 57EE FFE7 seq [A6 - 0x19]
000002EE 3012 move.w D0, [A2]
000002F0 C0C5 mulu.w D0, D5
000002F2 322A 0002 move.w D1, [A2 + 0x2]
000002F6 3401 move.w D2, D1
000002F8 4A2E FFE6 tst.b [A6 - 0x1A]
000002FC 6718 beq +0x1A /* 00000316 */
000002FE 362E FFE2 move.w D3, [A6 - 0x1E]
00000302 D643 add.w D3, D3
00000304 5243 addq.w D3, 1
00000306 C243 and.w D1, D3
00000308 C2EC 0020 mulu.w D1, [A4 + 0x20]
0000030C 362E FFE4 move.w D3, [A6 - 0x1C]
00000310 5243 addq.w D3, 1
00000312 E66A lsr D2.w, D3
00000314 6006 bra +0x8 /* 0000031C */
label00000316:
00000316 0241 000F andi.w D1, 0xF
0000031A E84A lsr D2.w, 4
label0000031C:
0000031C D442 add.w D2, D2
0000031E D042 add.w D0, D2
00000320 224B movea.l A1, A3
00000322 D3C0 add.l A1, D0
00000324 204B movea.l A0, A3
00000326 3605 move.w D3, D5
00000328 3A2E FFF2 move.w D5, [A6 - 0xE]
0000032C 9645 sub.w D3, D5
0000032E 5543 subq.w D3, 2
00000330 E24D lsr D5.w, 1
00000332 382E FFF0 move.w D4, [A6 - 0x10]
00000336 4A2E FFE7 tst.b [A6 - 0x19]
0000033A 6710 beq +0x12 /* 0000034C */
0000033C 342C 000C move.w D2, [A4 + 0xC]
00000340 946C 0008 sub.w D2, [A4 + 0x8]
00000344 B46E FFF4 cmp.w D2, [A6 - 0xC]
00000348 6700 009C beq +0x9E /* 000003E6 */
label0000034C:
0000034C 2649 movea.l A3, A1
0000034E D7EE FFEC add.l A3, [A6 - 0x14]
label00000352:
00000352 3405 move.w D2, D5
00000354 3019 move.w D0, [A1]+
label00000356:
00000356 4840 swap.w D0
00000358 B7C9 cmpa.l A3, A1
0000035A 6E04 bgt +0x6 /* 00000360 */
0000035C 4246 clr.w D6
0000035E 6002 bra +0x4 /* 00000362 */
label00000360:
00000360 3C19 move.w D6, [A1]+
label00000362:
00000362 3006 move.w D0, D6
00000364 E3A8 lsl D0, D1
00000366 4840 swap.w D0
00000368 30C0 move.w [A0]+, D0
0000036A 3006 move.w D0, D6
0000036C 5342 subq.w D2, 1
0000036E 66E6 bne -0x18 /* 00000356 */
00000370 D2C3 add.w A1, D3
00000372 5344 subq.w D4, 1
00000374 66DC bne -0x22 /* 00000352 */
00000376 302C 0006 move.w D0, [A4 + 0x6]
0000037A D052 add.w D0, [A2]
0000037C 3940 0006 move.w [A4 + 0x6], D0
00000380 D06E FFF0 add.w D0, [A6 - 0x10]
00000384 3940 000A move.w [A4 + 0xA], D0
00000388 302C 0008 move.w D0, [A4 + 0x8]
0000038C D06A 0002 add.w D0, [A2 + 0x2]
00000390 3940 0008 move.w [A4 + 0x8], D0
00000394 D06E FFF4 add.w D0, [A6 - 0xC]
00000398 3940 000C move.w [A4 + 0xC], D0
0000039C 396E FFF2 0004 move.w [A4 + 0x4], [A6 - 0xE]
000003A2 226E 0008 movea.l A1, [A6 + 0x8]
000003A6 2051 movea.l A0, [A1]
000003A8 202E FFE8 move.l D0, [A6 - 0x18]
000003AC A024 syscall SetHandleSize
000003AE 4A2E FFE6 tst.b [A6 - 0x1A]
000003B2 6732 beq +0x34 /* 000003E6 */
label000003B4:
000003B4 08EC 0007 0004 bset.b [A4 + 0x4], 0x7
000003BA 336C 0004 0008 move.w [A1 + 0x8], [A4 + 0x4]
000003C0 236C 0006 000A move.l [A1 + 0xA], [A4 + 0x6]
000003C6 236C 000A 000E move.l [A1 + 0xE], [A4 + 0xA]
000003CC 6018 bra +0x1A /* 000003E6 */
label000003CE:
000003CE 42AC 0006 clr.l [A4 + 0x6]
000003D2 42AC 000A clr.l [A4 + 0xA]
000003D6 226E 0008 movea.l A1, [A6 + 0x8]
000003DA 2051 movea.l A0, [A1]
000003DC 7000 moveq.l D0, 0x00
000003DE A024 syscall SetHandleSize
000003E0 4A2E FFE6 tst.b [A6 - 0x1A]
000003E4 66CE bne -0x30 /* 000003B4 */
label000003E6:
000003E6 4CDF 1FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
000003EA 4E5E unlink A6
000003EC 205F movea.l A0, [A7]+
000003EE 588F addq.l A7, 4
000003F0 4ED0 jmp [A0]
000003F2 4E56 0000 link A6, 0
000003F6 4E5E unlink A6
000003F8 4E75 rts
000003FA 4E56 0000 link A6, 0
000003FE 206E 0016 movea.l A0, [A6 + 0x16]
00000402 4A68 0004 tst.w [A0 + 0x4]
00000406 5DC0 slt D0
00000408 4A00 tst.b D0
0000040A 6710 beq +0x12 /* 0000041C */
0000040C 4A6E 000C tst.w [A6 + 0xC]
00000410 57C1 seq D1
00000412 C001 and.b D0, D1
00000414 6706 beq +0x8 /* 0000041C */
00000416 3D7C 0040 000C move.w [A6 + 0xC], 0x40 /* '@' */
label0000041C:
0000041C 2F2E 0016 move.l -[A7], [A6 + 0x16]
00000420 2F2E 0012 move.l -[A7], [A6 + 0x12]
00000424 2F2E 000E move.l -[A7], [A6 + 0xE]
00000428 3F2E 000C move.w -[A7], [A6 + 0xC]
0000042C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000430 2F2D F08E move.l -[A7], [A5 - 0xF72]
00000434 4EAD 01F2 jsr [A5 + 0x1F2 /* export_58 */]
00000438 4E5E unlink A6
0000043A 205F movea.l A0, [A7]+
0000043C DEFC 0012 add.w A7, 0x12
00000440 4ED0 jmp [A0]
00000442 4E56 0000 link A6, 0
00000446 4E5E unlink A6
00000448 205F movea.l A0, [A7]+
0000044A 504F addq.w A7, 8
0000044C 4ED0 jmp [A0]
fn0000044E:
0000044E 4E56 FEEC link A6, -0x0114
00000452 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000456 282E 001A move.l D4, [A6 + 0x1A]
0000045A 4267 clr.w -[A7]
0000045C 2F04 move.l -[A7], D4
0000045E 4EAD 0372 jsr [A5 + 0x372 /* export_106 */]
00000462 1D5F FEF1 move.b [A6 - 0x10F], [A7]+
00000466 2F04 move.l -[A7], D4
00000468 205F movea.l A0, [A7]+
0000046A A04A syscall HNoPurge
0000046C 2044 movea.l A0, D4
0000046E 2050 movea.l A0, [A0]
00000470 226E 0012 movea.l A1, [A6 + 0x12]
00000474 5488 addq.l A0, 2
00000476 22D8 move.l [A1]+, [A0]+
00000478 22D8 move.l [A1]+, [A0]+
0000047A 7000 moveq.l D0, 0x00
0000047C 2640 movea.l A3, D0
0000047E 286E 0016 movea.l A4, [A6 + 0x16]
00000482 206E 0012 movea.l A0, [A6 + 0x12]
00000486 43EC 000A lea.l A1, [A4 + 0xA]
0000048A 22D8 move.l [A1]+, [A0]+
0000048C 22D8 move.l [A1]+, [A0]+
0000048E 4A6C 0008 tst.w [A4 + 0x8]
00000492 5DC7 slt D7
00000494 4407 neg.b D7
00000496 1007 move.b D0, D7
00000498 6738 beq +0x3A /* 000004D2 */
0000049A 2C2C 0004 move.l D6, [A4 + 0x4]
0000049E 206E 0012 movea.l A0, [A6 + 0x12]
000004A2 2246 movea.l A1, D6
000004A4 2251 movea.l A1, [A1]
000004A6 5C89 addq.l A1, 6
000004A8 22D8 move.l [A1]+, [A0]+
000004AA 22D8 move.l [A1]+, [A0]+
000004AC 102E 000A move.b D0, [A6 + 0xA]
000004B0 6720 beq +0x22 /* 000004D2 */
000004B2 42A7 clr.l -[A7]
000004B4 AA32 syscall GetGDevice
000004B6 265F movea.l A3, [A7]+
000004B8 2046 movea.l A0, D6
000004BA 2050 movea.l A0, [A0]
000004BC 7008 moveq.l D0, 0x08
000004BE B068 0020 cmp.w D0, [A0 + 0x20]
000004C2 6C08 bge +0xA /* 000004CC */
000004C4 2F2D F690 move.l -[A7], [A5 - 0x970]
000004C8 AA31 syscall SetGDevice
000004CA 6006 bra +0x8 /* 000004D2 */
label000004CC:
000004CC 2F2D F39A move.l -[A7], [A5 - 0xC66]
000004D0 AA31 syscall SetGDevice
label000004D2:
000004D2 42A7 clr.l -[A7]
000004D4 486C 0004 pea.l [A4 + 0x4]
000004D8 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
000004DC 2A1F move.l D5, [A7]+
000004DE 0C85 0000 4E20 cmpi.l D5, 0x4E20 /* 'N ' */
000004E4 6C06 bge +0x8 /* 000004EC */
000004E6 2D45 FF84 move.l [A6 - 0x7C], D5
000004EA 6008 bra +0xA /* 000004F4 */
label000004EC:
000004EC 2D7C 0000 4E20 FF84 move.l [A6 - 0x7C], 0x4E20 /* 'N ' */
label000004F4:
000004F4 4267 clr.w -[A7]
000004F6 202E FF84 move.l D0, [A6 - 0x7C]
000004FA D085 add.l D0, D5
000004FC 2F00 move.l -[A7], D0
000004FE 4EAD 164A jsr [A5 + 0x164A /* export_709 */]
00000502 101F move.b D0, [A7]+
00000504 6604 bne +0x6 /* 0000050A */
00000506 6000 014A bra +0x14C /* 00000652 */
label0000050A:
0000050A 42A7 clr.l -[A7]
0000050C 2F05 move.l -[A7], D5
0000050E 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
00000512 289F move.l [A4], [A7]+
00000514 4267 clr.w -[A7]
00000516 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000051A 4A5F tst.w [A7]+
0000051C 6600 0134 bne +0x136 /* 00000652 */
00000520 2F14 move.l -[A7], [A4]
00000522 3F2C 0008 move.w -[A7], [A4 + 0x8]
00000526 2F06 move.l -[A7], D6
00000528 4EAD 139A jsr [A5 + 0x139A /* export_623 */]
0000052C 2F14 move.l -[A7], [A4]
0000052E 205F movea.l A0, [A7]+
00000530 A029 syscall HLock
00000532 486E FF90 pea.l [A6 - 0x70]
00000536 A874 syscall GetPort
00000538 1007 move.b D0, D7
0000053A 6732 beq +0x34 /* 0000056E */
0000053C 486E FF94 pea.l [A6 - 0x6C]
00000540 AA00 syscall OpenCPort
00000542 2046 movea.l A0, D6
00000544 2050 movea.l A0, [A0]
00000546 226E FF96 movea.l A1, [A6 - 0x6A]
0000054A 2251 movea.l A1, [A1]
0000054C 700B moveq.l D0, 0x0B
label0000054E:
0000054E 22D8 move.l [A1]+, [A0]+
00000550 51C8 FFFC dbf D0, -0x6 /* 0000054E */
00000554 3290 move.w [A1], [A0]
00000556 2F2E FF96 move.l -[A7], [A6 - 0x6A]
0000055A 205F movea.l A0, [A7]+
0000055C A029 syscall HLock
0000055E 2054 movea.l A0, [A4]
00000560 226E FF96 movea.l A1, [A6 - 0x6A]
00000564 2251 movea.l A1, [A1]
00000566 2290 move.l [A1], [A0]
00000568 4EAD 151A jsr [A5 + 0x151A /* export_671 */]
0000056C 6012 bra +0x14 /* 00000580 */
label0000056E:
0000056E 2054 movea.l A0, [A4]
00000570 2950 0004 move.l [A4 + 0x4], [A0]
00000574 486E FF94 pea.l [A6 - 0x6C]
00000578 A86F syscall OpenPort
0000057A 486C 0004 pea.l [A4 + 0x4]
0000057E A875 syscall SetPBits/SetPortBits
label00000580:
00000580 2F2E FFAC move.l -[A7], [A6 - 0x54]
00000584 486C 000A pea.l [A4 + 0xA]
00000588 A8DF syscall RectRgn
0000058A 1007 move.b D0, D7
0000058C 673E beq +0x40 /* 000005CC */
0000058E 486E FEF8 pea.l [A6 - 0x108]
00000592 AA4E syscall SetStdCProcs
00000594 41FA FEAC lea.l A0, [PC - 0x154 /* 00000442, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000598 2D48 FF1C move.l [A6 - 0xE4], A0
0000059C 102E 0008 move.b D0, [A6 + 0x8]
000005A0 6708 beq +0xA /* 000005AA */
000005A2 41FA FA5C lea.l A0, [PC - 0x5A4 /* 00000000, value 0x4E560000 'NV\0\0', cstring "NV" */]
000005A6 2D48 FF24 move.l [A6 - 0xDC], A0
label000005AA:
000005AA 4267 clr.w -[A7]
000005AC 4EAD 1682 jsr [A5 + 0x1682 /* export_716 */]
000005B0 101F move.b D0, [A7]+
000005B2 670E beq +0x10 /* 000005C2 */
000005B4 2B6E FF18 F08E move.l [A5 - 0xF72], [A6 - 0xE8]
000005BA 41FA FE3E lea.l A0, [PC - 0x1C2 /* 000003FA, value 0x4E560000 'NV\0\0', cstring "NV" */]
000005BE 2D48 FF18 move.l [A6 - 0xE8], A0
label000005C2:
000005C2 41EE FEF8 lea.l A0, [A6 - 0x108]
000005C6 2D48 FFFC move.l [A6 - 0x4], A0
000005CA 6024 bra +0x26 /* 000005F0 */
label000005CC:
000005CC 486E FF48 pea.l [A6 - 0xB8]
000005D0 A8EA syscall SetStdProcs
000005D2 41FA FE6E lea.l A0, [PC - 0x192 /* 00000442, value 0x4E560000 'NV\0\0', cstring "NV" */]
000005D6 2D48 FF6C move.l [A6 - 0x94], A0
000005DA 102E 0008 move.b D0, [A6 + 0x8]
000005DE 6708 beq +0xA /* 000005E8 */
000005E0 41FA FA1E lea.l A0, [PC - 0x5E2 /* 00000000, value 0x4E560000 'NV\0\0', cstring "NV" */]
000005E4 2D48 FF74 move.l [A6 - 0x8C], A0
label000005E8:
000005E8 41EE FF48 lea.l A0, [A6 - 0xB8]
000005EC 2D48 FFFC move.l [A6 - 0x4], A0
label000005F0:
000005F0 7000 moveq.l D0, 0x00
000005F2 2D40 FEEC move.l [A6 - 0x114], D0
000005F6 102E 0008 move.b D0, [A6 + 0x8]
000005FA 6712 beq +0x14 /* 0000060E */
000005FC 42A7 clr.l -[A7]
000005FE 3F2D F0AE move.w -[A7], [A5 - 0xF52]
00000602 2F2E FF84 move.l -[A7], [A6 - 0x7C]
00000606 4EBA FA6A jsr [PC - 0x596 /* 00000072 */]
0000060A 2D5F FEEC move.l [A6 - 0x114], [A7]+
label0000060E:
0000060E 2F04 move.l -[A7], D4
00000610 486C 000A pea.l [A4 + 0xA]
00000614 A8F6 syscall DrawPicture
00000616 486E FEEC pea.l [A6 - 0x114]
0000061A 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
0000061E 2F2E FF90 move.l -[A7], [A6 - 0x70]
00000622 A873 syscall SetPort
00000624 2F14 move.l -[A7], [A4]
00000626 205F movea.l A0, [A7]+
00000628 A02A syscall HUnlock
0000062A 1007 move.b D0, D7
0000062C 6712 beq +0x14 /* 00000640 */
0000062E 486E FF94 pea.l [A6 - 0x6C]
00000632 A87D syscall ClosePort
00000634 102E 000A move.b D0, [A6 + 0xA]
00000638 670C beq +0xE /* 00000646 */
0000063A 2F0B move.l -[A7], A3
0000063C AA31 syscall SetGDevice
0000063E 6006 bra +0x8 /* 00000646 */
label00000640:
00000640 486E FF94 pea.l [A6 - 0x6C]
00000644 A87D syscall ClosePort
label00000646:
00000646 2F04 move.l -[A7], D4
00000648 1F2E FEF1 move.b -[A7], [A6 - 0x10F]
0000064C 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
00000650 6018 bra +0x1A /* 0000066A */
label00000652:
00000652 200B move.l D0, A3
00000654 6704 beq +0x6 /* 0000065A */
00000656 2F0B move.l -[A7], A3
00000658 AA31 syscall SetGDevice
label0000065A:
0000065A 2F04 move.l -[A7], D4
0000065C 1F2E FEF1 move.b -[A7], [A6 - 0x10F]
00000660 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
00000664 3B7C FF94 F498 move.w [A5 - 0xB68], 0xFF94
label0000066A:
0000066A 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
0000066E 4E5E unlink A6
00000670 205F movea.l A0, [A7]+
00000672 DEFC 0016 add.w A7, 0x16
00000676 4ED0 jmp [A0]
00000678 4E56 FEFA link A6, -0x0106
0000067C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000680 266E 000C movea.l A3, [A6 + 0xC]
00000684 3E2E 0016 move.w D7, [A6 + 0x16]
00000688 3F07 move.w -[A7], D7
0000068A 4EAD 157A jsr [A5 + 0x157A /* export_683 */]
0000068E 42A7 clr.l -[A7]
00000690 3F07 move.w -[A7], D7
00000692 4EAD 154A jsr [A5 + 0x154A /* export_677 */]
00000696 285F movea.l A4, [A7]+
00000698 196E 0019 0006 move.b [A4 + 0x6], [A6 + 0x19]
0000069E 42A7 clr.l -[A7]
000006A0 3F07 move.w -[A7], D7
000006A2 3F2E 0014 move.w -[A7], [A6 + 0x14]
000006A6 2F2E 0010 move.l -[A7], [A6 + 0x10]
000006AA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000006AE 4EAD 1CDA jsr [A5 + 0x1CDA /* export_919 */]
000006B2 201F move.l D0, [A7]+
000006B4 3C00 move.w D6, D0
000006B6 4A2C 0006 tst.b [A4 + 0x6]
000006BA 6602 bne +0x4 /* 000006BE */
000006BC 6026 bra +0x28 /* 000006E4 */
label000006BE:
000006BE 486C 0007 pea.l [A4 + 0x7]
000006C2 3F3C 0003 move.w -[A7], 0x3
000006C6 1F3C 0001 move.b -[A7], 0x1
000006CA 4EAD 1522 jsr [A5 + 0x1522 /* export_672 */]
000006CE 200B move.l D0, A3
000006D0 6712 beq +0x14 /* 000006E4 */
000006D2 2F0C move.l -[A7], A4
000006D4 3F3C 0001 move.w -[A7], 0x1
000006D8 2F0B move.l -[A7], A3
000006DA 4EAD 1CCA jsr [A5 + 0x1CCA /* export_917 */]
000006DE 2F0B move.l -[A7], A3
000006E0 205F movea.l A0, [A7]+
000006E2 A023 syscall DisposHandle/DisposeHandle
label000006E4:
000006E4 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000006E8 4E5E unlink A6
000006EA 205F movea.l A0, [A7]+
000006EC DEFC 0012 add.w A7, 0x12
000006F0 4ED0 jmp [A0]
000006F2 4E56 FFD6 link A6, -0x002A
000006F6 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000006FA 266E 000A movea.l A3, [A6 + 0xA]
000006FE 2F0B move.l -[A7], A3
00000700 4EAD 1CF2 jsr [A5 + 0x1CF2 /* export_922 */]
00000704 2853 movea.l A4, [A3]
00000706 102D F6BB move.b D0, [A5 - 0x945]
0000070A 6712 beq +0x14 /* 0000071E */
0000070C 206D F690 movea.l A0, [A5 - 0x970]
00000710 2050 movea.l A0, [A0]
00000712 2068 0016 movea.l A0, [A0 + 0x16]
00000716 2050 movea.l A0, [A0]
00000718 3A28 0020 move.w D5, [A0 + 0x20]
0000071C 6002 bra +0x4 /* 00000720 */
label0000071E:
0000071E 7A01 moveq.l D5, 0x01
label00000720:
00000720 102D F6BB move.b D0, [A5 - 0x945]
00000724 673E beq +0x40 /* 00000764 */
00000726 7201 moveq.l D1, 0x01
00000728 B245 cmp.w D1, D5
0000072A 5DC1 slt D1
0000072C C001 and.b D0, D1
0000072E 6734 beq +0x36 /* 00000764 */
00000730 42A7 clr.l -[A7]
00000732 3F05 move.w -[A7], D5
00000734 4EAD 18D2 jsr [A5 + 0x18D2 /* export_790 */]
00000738 295F 0010 move.l [A4 + 0x10], [A7]+
0000073C 206C 0010 movea.l A0, [A4 + 0x10]
00000740 2050 movea.l A0, [A0]
00000742 3968 0020 002A move.w [A4 + 0x2A], [A0 + 0x20]
00000748 206C 0010 movea.l A0, [A4 + 0x10]
0000074C 2050 movea.l A0, [A0]
0000074E 4868 0006 pea.l [A0 + 0x6]
00000752 4EAD 1662 jsr [A5 + 0x1662 /* export_712 */]
00000756 397C 8000 0014 move.w [A4 + 0x14], 0x8000
0000075C 396D F3AA 002C move.w [A4 + 0x2C], [A5 - 0xC56]
00000762 6004 bra +0x6 /* 00000768 */
label00000764:
00000764 426C 0014 clr.w [A4 + 0x14]
label00000768:
00000768 2D6B 0008 FFD8 move.l [A6 - 0x28], [A3 + 0x8]
0000076E 6640 bne +0x42 /* 000007B0 */
00000770 486C 0016 pea.l [A4 + 0x16]
00000774 4EAD 1662 jsr [A5 + 0x1662 /* export_712 */]
00000778 42A7 clr.l -[A7]
0000077A 42A7 clr.l -[A7]
0000077C 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
00000780 295F 000C move.l [A4 + 0xC], [A7]+
00000784 486C 001E pea.l [A4 + 0x1E]
00000788 42A7 clr.l -[A7]
0000078A 2F3C 0048 0048 move.l -[A7], 0x480048 /* 'H\0H' */
00000790 A8A7 syscall SetRect
00000792 486C 001E pea.l [A4 + 0x1E]
00000796 2F3C 0020 003C move.l -[A7], 0x20003C /* ' \0<' */
0000079C A8A8 syscall OffsetRect
0000079E 486C 0007 pea.l [A4 + 0x7]
000007A2 4267 clr.w -[A7]
000007A4 1F3C 0001 move.b -[A7], 0x1
000007A8 4EAD 1522 jsr [A5 + 0x1522 /* export_672 */]
000007AC 6000 0104 bra +0x106 /* 000008B2 */
label000007B0:
000007B0 7801 moveq.l D4, 0x01
000007B2 2F2E FFD8 move.l -[A7], [A6 - 0x28]
000007B6 486C 000C pea.l [A4 + 0xC]
000007BA 486E FFF0 pea.l [A6 - 0x10]
000007BE 486E FFDF pea.l [A6 - 0x21]
000007C2 1F3C 0001 move.b -[A7], 0x1
000007C6 1F04 move.b -[A7], D4
000007C8 4267 clr.w -[A7]
000007CA 4EBA FC82 jsr [PC - 0x37E /* 0000044E */]
000007CE 486E FFD8 pea.l [A6 - 0x28]
000007D2 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
000007D6 4A6D F498 tst.w [A5 - 0xB68]
000007DA 670A beq +0xC /* 000007E6 */
000007DC 2F13 move.l -[A7], [A3]
000007DE 4EAD 1572 jsr [A5 + 0x1572 /* export_682 */]
000007E2 6000 00EA bra +0xEC /* 000008CE */
label000007E6:
000007E6 102D F0A2 move.b D0, [A5 - 0xF5E]
000007EA 6608 bne +0xA /* 000007F4 */
000007EC 486C 000C pea.l [A4 + 0xC]
000007F0 4EBA F944 jsr [PC - 0x6BC /* 00000136 */]
label000007F4:
000007F4 41EC 001E lea.l A0, [A4 + 0x1E]
000007F8 43EC 0016 lea.l A1, [A4 + 0x16]
000007FC 20D9 move.l [A0]+, [A1]+
000007FE 20D9 move.l [A0]+, [A1]+
00000800 102E 0008 move.b D0, [A6 + 0x8]
00000804 0A00 0001 xori.b D0, 0x1
00000808 0CAB 8000 8000 0014 cmpi.l [A3 + 0x14], 0x80008000
00000810 56C1 sne D1
00000812 C001 and.b D0, D1
00000814 6712 beq +0x14 /* 00000828 */
00000816 296B 0014 0026 move.l [A4 + 0x26], [A3 + 0x14]
0000081C 486C 0007 pea.l [A4 + 0x7]
00000820 42A7 clr.l -[A7]
00000822 4EAD 1522 jsr [A5 + 0x1522 /* export_672 */]
00000826 6020 bra +0x22 /* 00000848 */
label00000828:
00000828 486C 0007 pea.l [A4 + 0x7]
0000082C 4267 clr.w -[A7]
0000082E 1F3C 0001 move.b -[A7], 0x1
00000832 4EAD 1522 jsr [A5 + 0x1522 /* export_672 */]
00000836 3F2B 0004 move.w -[A7], [A3 + 0x4]
0000083A 4EAD 15A2 jsr [A5 + 0x15A2 /* export_688 */]
0000083E 486C 0007 pea.l [A4 + 0x7]
00000842 42A7 clr.l -[A7]
00000844 4EAD 1522 jsr [A5 + 0x1522 /* export_672 */]
label00000848:
00000848 4247 clr.w D7
0000084A 4246 clr.w D6
0000084C 4A6C 001C tst.w [A4 + 0x1C]
00000850 6E12 bgt +0x14 /* 00000864 */
00000852 302C 001C move.w D0, [A4 + 0x1C]
00000856 4440 neg.w D0
00000858 3E00 move.w D7, D0
0000085A DE7C 0020 add.w D7, 0x20 /* ' ' */
0000085E 3007 move.w D0, D7
00000860 D16C 0028 add.w [A4 + 0x28], D0
label00000864:
00000864 4A6C 001A tst.w [A4 + 0x1A]
00000868 6E12 bgt +0x14 /* 0000087C */
0000086A 302C 001A move.w D0, [A4 + 0x1A]
0000086E 4440 neg.w D0
00000870 3C00 move.w D6, D0
00000872 DC7C 0020 add.w D6, 0x20 /* ' ' */
00000876 3006 move.w D0, D6
00000878 D16C 0026 add.w [A4 + 0x26], D0
label0000087C:
0000087C 486C 0016 pea.l [A4 + 0x16]
00000880 3F07 move.w -[A7], D7
00000882 3F06 move.w -[A7], D6
00000884 A8A8 syscall OffsetRect
00000886 4A6C 0014 tst.w [A4 + 0x14]
0000088A 6C10 bge +0x12 /* 0000089C */
0000088C 206C 0010 movea.l A0, [A4 + 0x10]
00000890 2050 movea.l A0, [A0]
00000892 5C88 addq.l A0, 6
00000894 43EC 0016 lea.l A1, [A4 + 0x16]
00000898 20D9 move.l [A0]+, [A1]+
0000089A 20D9 move.l [A0]+, [A1]+
label0000089C:
0000089C 486C 001E pea.l [A4 + 0x1E]
000008A0 3F07 move.w -[A7], D7
000008A2 3F06 move.w -[A7], D6
000008A4 A8A8 syscall OffsetRect
000008A6 486C 001E pea.l [A4 + 0x1E]
000008AA 2F3C FFF4 FFF4 move.l -[A7], 0xFFF4FFF4
000008B0 A8A9 syscall InsetRect
label000008B2:
000008B2 4267 clr.w -[A7]
000008B4 2F13 move.l -[A7], [A3]
000008B6 4EAD 1CA2 jsr [A5 + 0x1CA2 /* export_912 */]
000008BA 101F move.b D0, [A7]+
000008BC 6710 beq +0x12 /* 000008CE */
000008BE 4267 clr.w -[A7]
000008C0 2F13 move.l -[A7], [A3]
000008C2 4EAD 1542 jsr [A5 + 0x1542 /* export_676 */]
000008C6 3F3C 0001 move.w -[A7], 0x1
000008CA 4EAD 1C32 jsr [A5 + 0x1C32 /* export_898 */]
label000008CE:
000008CE 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
000008D2 4E5E unlink A6
000008D4 205F movea.l A0, [A7]+
000008D6 5C4F addq.w A7, 6
000008D8 4ED0 jmp [A0]
000008DA 4E56 FFF6 link A6, -0x000A
000008DE 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000008E2 206E 0008 movea.l A0, [A6 + 0x8]
000008E6 2A28 000C move.l D5, [A0 + 0xC]
000008EA 2045 movea.l A0, D5
000008EC 2650 movea.l A3, [A0]
000008EE 49EB 0008 lea.l A4, [A3 + 0x8]
000008F2 297C FFFF FFFF 0002 move.l [A4 + 0x2], 0xFFFFFFFF
000008FA 397C FFFF 0006 move.w [A4 + 0x6], 0xFFFF
00000900 3C2B 0006 move.w D6, [A3 + 0x6]
00000904 3006 move.w D0, D6
00000906 E740 asl D0.w, 3
00000908 49F3 0008 lea.l A4, [A3 + D0.w + 0x8]
0000090C 42AC 0002 clr.l [A4 + 0x2]
00000910 426C 0006 clr.w [A4 + 0x6]
00000914 426B 0004 clr.w [A3 + 0x4]
00000918 3D46 FFF6 move.w [A6 - 0xA], D6
0000091C 4247 clr.w D7
0000091E 600C bra +0xE /* 0000092C */
label00000920:
00000920 3007 move.w D0, D7
00000922 E740 asl D0.w, 3
00000924 3787 0008 move.w [A3 + D0.w + 0x8], D7
00000928 5247 addq.w D7, 1
0000092A 6906 bvs +0x8 /* 00000932 */
label0000092C:
0000092C BE6E FFF6 cmp.w D7, [A6 - 0xA]
00000930 6FEE ble -0x10 /* 00000920 */
label00000932:
00000932 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00000936 4E5E unlink A6
00000938 2E9F move.l [A7], [A7]+
0000093A 4E75 rts